#include<stdio.h>

int main(int argc, char const *argv[])
{
    int year;
    scanf("%d" , &year);
    if (year % 4 == 0)
    {
        printf("%d年是闰年\n", year);
    }
    else
    {
        printf("%d年是平年\n" , year);
    }
    
    return 0;
}
